import Vue from 'vue'
import Vuex from 'vuex'

Vue.use(Vuex)

export default new Vuex.Store({
  state: {
    classID:"",
    //个人信息
    // loginname:'',
    // password:'',
    // username:'',
    // nickname:'',
    // mobile:'',

    userInfos:null,//个人信息

  },
  mutations: {
    changeClassId(state, payload) {
      state.classID = payload.classID
    },
    //个人信息
    changeUserInfo(state,payload){
      state.userInfos=payload.userInfos
    },




  },
  actions: {
  },

    modules: {}
})
